home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- import java.io.IOException;
- import java.io.InputStream;
-
- public class PropertyResourceBundle extends ResourceBundle {
- private Properties lookup = new Properties();
-
- public PropertyResourceBundle(InputStream var1) throws IOException {
- this.lookup.load(var1);
- }
-
- public Object handleGetObject(String var1) {
- Object var2 = this.lookup.get(var1);
- return var2;
- }
-
- public Enumeration getKeys() {
- Object var1 = null;
- Enumeration var5;
- if (super.parent != null) {
- Hashtable var2 = new Hashtable();
- Enumeration var3 = super.parent.getKeys();
-
- while(var3.hasMoreElements()) {
- var2.put(var3.nextElement(), this);
- }
-
- Enumeration var4 = this.lookup.keys();
-
- while(var4.hasMoreElements()) {
- var2.put(var4.nextElement(), this);
- }
-
- var5 = var2.keys();
- } else {
- var5 = this.lookup.keys();
- }
-
- return var5;
- }
- }
-